<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="x-ua-compatible" content="ie=edge"/>
    <title>{$search}_{$system.name}</title>
    <meta name="keywords" content="{$keywords}"/>
    <meta name="description" content="{$description}"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0"/>
    <link rel="shortcut icon" type="image/x-icon" href="{$public}img/favicon.ico"/>
    {include file="common/css"/}
</head>
<body>
{include file="common/header"/}
<div class="main">
    {include file="common/nav"/}

    {tp:search search="$search" table="article" name="list" pagesize="1"}
    <div class="main">
        <div class="right2">
            <div class="bt">{tp:cate id="$list['cate_id']" type="cate_name"}-{$list.title}-{$list.author}
            </div>
            <div class="sbflnr2">
<!--                {str_replace($search,'<b>'.$searchs.'</b>',$list.content|raw)}-->
                <?=str_replace($search,"<b style='color:red;background-color:#ffff66'>$search</b>",$list['content'])?>
            </div>
        </div>
    </div>
    {/tp:search}
    {if empty($list)}
    <h2 class="aligncenter">暂无相关内容</h2>
    {/if}
    <div class="sbfy">
        <div class="repage clearfix">
                {$page|raw}
        </div>
    </div>
</div>
{include file="common/footer"/}
</body>
</html>